package org.jdemo.orm.mybatis.support.mybatis;

/**
 * MybatisStatement
 *
 * @author longlin(longlin@cyou-inc.com)
 * @date 202014/4/16
 * @since V1.0
 */
public class MybatisStatement {
    private String listStatement;
    private String fxStatement;
    private String insertStatement;
    private String insertBatchStatement;
    private String updateStatement;
    private String deleteStatement;

    public MybatisStatement(String entityName) {
        this.listStatement = entityName + ".list";
        this.fxStatement = entityName + ".fx";
        this.insertStatement = entityName + ".insert";
        this.insertBatchStatement = entityName + ".insertBatch";
        this.updateStatement = entityName + ".update";
        this.deleteStatement = entityName + ".delete";
    }

    public String getListStatement() {
        return listStatement;
    }

    public String getFxStatement() {
        return fxStatement;
    }

    public String getInsertStatement() {
        return insertStatement;
    }

    public String getInsertBatchStatement() {
        return insertBatchStatement;
    }

    public String getUpdateStatement() {
        return updateStatement;
    }

    public String getDeleteStatement() {
        return deleteStatement;
    }
}
